<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>重庆大学硕士研究生服务系统</title>
<?php $this->load->view('includes/ga_head'); ?>  
</head>
<!--[if lt IE 7 ]> <body class="ie ie6"> <![endif]-->
<!--[if IE 7 ]> <body class="ie ie7 "> <![endif]-->
<!--[if IE 8 ]> <body class="ie ie8 "> <![endif]-->
<!--[if IE 9 ]> <body class="ie ie9 "> <![endif]-->
<!--[if (gt IE 9)|!(IE)]><!--> 
<body class=""> 
<!--<![endif]-->
<?php $this->load->view('includes/ga_navbar'); ?>  
<?php $this->load->view('includes/ga_sidebar'); ?>  
<div class="content">
    <div class="header">
        <h1 class="page-title">用户列表</h1>
    </div>
    <ul class="breadcrumb">
        <li><a href="index.html">Home</a> <span class="divider">/</span></li>
        <li class="active">用户列表</li>
    </ul>
    <div class="container-fluid">
        <div class="row-fluid">
<?php $this->load->view('includes/ga_message'); ?>  
<?php echo form_open(current_url());?>  	
<input type="hidden" name="upro_id" value=<?php echo $user['uacc_id'];?> />
<input type="hidden" name="original_email" value=<?php echo $user['uacc_email'];?> />
<div class="btn-toolbar">
  <input type="submit" value="保存" name="update_form_submit" class="btn btn-primary" /><i class="icon-save"></i>
  <div class="btn-group">
  </div>
</div>
<div class="well">
    <ul class="nav nav-tabs">
      <li class="active"><a href="#home" data-toggle="tab">基本资料</a></li>
      <li><a href="#profile" data-toggle="tab">密码</a></li>
    </ul>
     <div id="myTabContent" class="tab-content">
      <div class="tab-pane active in" id="home">
        <label>用户名</label>
		<input type="text" class="input-xlarge" name="upro_name" value="<?php echo set_value('upro_name',$user['uacc_username']);?>" />
		<label>Email Address</label>
		<input type="text" class="input-xlarge" name="upro_email" value="<?php echo set_value('upro_email',$user['uacc_email']);?>" />
        <label>电话</label>
        <input type="text" class="input-xlarge" name="upro_phone" value="<?php echo set_value('upro_phone',$user['upro_phone']);?>"/>
      </div>
      <div class="tab-pane fade" id="profile">
        <label>当前密码</label>
	    <input type="password" class="input-xlarge" name="upro_pass" />
        <label>新密码</label>
	    <input type="password" class="input-xlarge" name="upro_new_pass" />
        <label>确认新密码</label>
	    <input type="password" class="input-xlarge" name="upro_con_pass" />
<div>
            <input type="submit" value="更新" name="change_password" class="btn btn-primary" />
        </div>
      </div>
  </div>           
</div>
	  <?php echo form_close();?>
<?php $this->load->view('includes/ga_footer'); ?>  
        </div>
    </div>
</div>
<?php $this->load->view('includes/ga_scripts'); ?>
</body>
</html>
